package com.bw.test;

public class B extends A
{ 
    @Override
    public void testA()
    {
        super.testA();
    }
    
    @Override
    public void testB()
    {
        super.testB();
        System.out.println("类B方法testB");
    }
    
    @Override
    protected void testC()
    {
        super.testC();
        System.out.println("类B方法testC");
    }
    
    public static void main(String[] args)
    {
        B b = new B();
        b.testA();
        
    }
}
